<table width="100%" border="0" cellspacing="0" cellpadding="0" class="menu">
                 
            <?php
               if(is_array($navarr))
			   {
			     foreach($navarr as $onenav)
				 {
			?>
              <tr>
                <td height="31" class="menutb"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="menu<?php echo $onenav['cssname']?>">
                  <tr>
                    <td width="7" bgcolor="<?php echo $onenav['bgcol'];?>"><img src="images/1_1.gif" tppabs="images/1_1.gif" width="7" height="1" /></td>
                    <td height="31"><a href="<?php echo $onenav['modname']?>.php?bid=<?php echo $onenav['aid']?>"><?php echo $onenav['bigname'];?></a></td>
                  </tr>
                </table></td>
                </tr>
                <?php
				   }
				 }
				 ?>              
             
             
            </table>